import request from '@/utils/request'

export function queryDepartments() {
    return request({
        url: '/med-admin-comments/comments/queryDepartment',
        method: 'get'
    })
}

export function queryDoctorsByCId(val) {
    return request({
        url: '/med-admin-comments/comments/queryDoctorByCId',
        method: 'get',
        params: val
    })
}

export function queryDoctorComments(val){
    return request({
        url: '/med-admin-comments/comments/queryDoctorComment',
        method: 'get',
        params: val
    })
}

export function queryComments(val){
    return request({
        url: '/med-admin-comments/comments/queryComment',
        method: 'get',
        params: val
    })
}

export function delComments(val){
    return request({
        url: '/med-admin-comments/comments/delComment',
        method: 'get',
        params: val
    })
}

export function queryUser(){
    return request({
        url: '/med-admin-comments/comments/queryRecord',
        method: 'get',
        params: val
    })
}

export function queryUserRecord(val){
    return request({
        url: '/med-admin-comments/comments/queryUserRecords',
        method: 'get',
        params: val
    })
}